#include "AvatarChangedEvent.h"

namespace Impp{

DEFINE_EVENT_TYPE(EVT_BUDDY_AVATAR_CHANGED) 
DEFINE_EVENT_TYPE(EVT_OWN_AVATAR_CHANGED) 

AvatarChangedEvent::AvatarChangedEvent(Buddy* b, wxEventType eventType, int id):
	wxNotifyEvent(eventType,id), 
	buddy(b)
{
}

AvatarChangedEvent::~AvatarChangedEvent()
{
}

wxEvent* AvatarChangedEvent::Clone() const {
	return new AvatarChangedEvent(*this);
}

Buddy* AvatarChangedEvent::getBuddy(){
	return buddy;
}

}
